package cn.com.generaldata.os.pojo;

import com.sun.xml.internal.bind.CycleRecoverable;

public class IndicatorAccountView implements java.io.Serializable, CycleRecoverable {

	private static final long serialVersionUID = -1574273762783810614L;

	private String id; // ID
	private Integer indicatorId; // 指标ID
	private String areaId; // 区域ID
	private Integer timeType;// 时段属性 0：月；1：年；2：季报
	private Integer year;
	private Integer yearTime;// 频率属性 1：半年报（在报表中时：1：当年第一次上报 4：当年第二次上报） 2：全年报一次 3: 快报(每年年初一月份)
	private Integer quarter;// 季度
	private Integer month;// 月份
	private Double indicatorValue;// 指标值
	private String createPre; // 创建者
	private Double editValue;// 手工修改值
	private Integer sort; // 排序字段
	private Integer isSummaryIndicator;// 是否汇总数据
	private Double editValueGrowthRate;// 修改值增长速度
	private Double indicatorValueGrowthRate;// 指标值增长速度
	private Double ivYearBookGrowthRate;// 指标值相比年鉴偏离度
	private Double evYearBookGrowthRate;// 修改值相比年鉴偏离度
	private Double ivLastYearBookGrowthRate;// 指标值相比年鉴增长速度
	private Double evLastYearBookGrowthRate;// 修改值相比年鉴增长速度

	public Double getEditValueGrowthRate() {
		return editValueGrowthRate;
	}

	public Double getIvLastYearBookGrowthRate() {
		return ivLastYearBookGrowthRate;
	}

	public void setIvLastYearBookGrowthRate(Double ivLastYearBookGrowthRate) {
		this.ivLastYearBookGrowthRate = ivLastYearBookGrowthRate;
	}

	public Double getEvLastYearBookGrowthRate() {
		return evLastYearBookGrowthRate;
	}

	public void setEvLastYearBookGrowthRate(Double evLastYearBookGrowthRate) {
		this.evLastYearBookGrowthRate = evLastYearBookGrowthRate;
	}

	public Integer getIsSummaryIndicator() {
		return isSummaryIndicator;
	}

	public void setIsSummaryIndicator(Integer isSummaryIndicator) {
		this.isSummaryIndicator = isSummaryIndicator;
	}

	public void setEditValueGrowthRate(Double editValueGrowthRate) {
		this.editValueGrowthRate = editValueGrowthRate;
	}

	public Double getIndicatorValueGrowthRate() {
		return indicatorValueGrowthRate;
	}

	public void setIndicatorValueGrowthRate(Double indicatorValueGrowthRate) {
		this.indicatorValueGrowthRate = indicatorValueGrowthRate;
	}

	public Double getIvYearBookGrowthRate() {
		return ivYearBookGrowthRate;
	}

	public void setIvYearBookGrowthRate(Double ivYearBookGrowthRate) {
		this.ivYearBookGrowthRate = ivYearBookGrowthRate;
	}

	public Double getEvYearBookGrowthRate() {
		return evYearBookGrowthRate;
	}

	public void setEvYearBookGrowthRate(Double evYearBookGrowthRate) {
		this.evYearBookGrowthRate = evYearBookGrowthRate;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public Double getEditValue() {
		return editValue;
	}

	public void setEditValue(Double editValue) {
		this.editValue = editValue;
	}

	public IndicatorAccountView() {
	}

	public String getCreatePre() {
		return createPre;
	}

	public void setCreatePre(String createPre) {
		this.createPre = createPre;
	}

	/**
	 * 解决CXF循环引用问题.
	 * 
	 * @param arg0
	 * @return
	 */
	@Override
	public Object onCycleDetected(Context arg0) {
		IndicatorAccountView temp = new IndicatorAccountView();
		temp.setId(id);
		return temp;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getIndicatorId() {
		return indicatorId;
	}

	public void setIndicatorId(Integer indicatorId) {
		this.indicatorId = indicatorId;
	}

	public String getAreaId() {
		return areaId;
	}

	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}

	public Integer getQuarter() {
		return quarter;
	}

	public void setQuarter(Integer quarter) {
		this.quarter = quarter;
	}

	public Integer getMonth() {
		return month;
	}

	public void setMonth(Integer month) {
		this.month = month;
	}

	public Double getIndicatorValue() {
		return indicatorValue;
	}

	public void setIndicatorValue(Double indicatorValue) {
		this.indicatorValue = indicatorValue;
	}

	public Integer getTimeType() {
		return timeType;
	}

	public void setTimeType(Integer timeType) {
		this.timeType = timeType;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public Integer getYearTime() {
		return yearTime;
	}

	public void setYearTime(Integer yearTime) {
		this.yearTime = yearTime;
	}

	public IndicatorAccountView(String id, Integer indicatorId, String areaId, Integer timeType, Integer year,
			Integer yearTime, Integer quarter, Integer month, Double indicatorValue, String createPre, Double editValue) {
		super();
		this.id = id;
		this.indicatorId = indicatorId;
		this.areaId = areaId;
		this.timeType = timeType;
		this.year = year;
		this.yearTime = yearTime;
		this.quarter = quarter;
		this.month = month;
		this.indicatorValue = indicatorValue;
		this.createPre = createPre;
		this.editValue = editValue;
	}

}
